home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 15754 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: news.smartlink.net!usenet
  2. From: nmarrone@smartlink.net (Nicholas Marrone)
  3. Newsgroups: comp.lang.c
  4. Subject: SIGSEV and symifiy, unable to find crash (djgpp specific)
  5. Date: Mon, 22 Apr 1996 04:00:30 GMT
  6. Organization: SmartLink.net Premier ISP 805-294-1273
  7. Message-ID: <4ldra2$o23@frodo.smartlink.net>
  8. NNTP-Posting-Host: pm42-52.smartlink.net
  9. X-Newsreader: Forte Free Agent 1.0.82
  10.  
  11. Hullo,
  12.     I'm sorry I'm posting a DJGPP specific question here, but I don't know
  13. where the appropriate group is. If someone could point it out to me,
  14. I'd appreciate it.
  15.     I am having trouble debugging a menu system I made. The test menu I
  16. made consists of a loop in which it will accept a key to see  which
  17. header is selected (I have not made a real keyboard handler yet), and
  18. then will call the function to process that header. It looks a lot
  19. like DOS's text editor. In any case, the first header I select works
  20. fine, and I can call a function from an item without any trouble. The
  21. second time I select a header, whether it is the same header as
  22. previously selected or a different one, the program crashes with a
  23. SIGSEV. Using symify, it points to the opening line of the function
  24. that is called when a menu header is selected. What I don't understand
  25. exactly is: what is symify pointing to here? Does it mean that the
  26. program crashed in that function, in any one of the functions called
  27. in it, or on that line? Why did the function go through successfully
  28. the first time and crash the second? 
  29.  
  30.     On another note, could someone point me to some readable reference
  31. material concerning how to use MAKE? I am very tired of having to
  32. compile the whole thing every time.
  33.  
  34.     Thanks for any help.
  35.  
  36.     nick
  37.  
  38.  
  39.